x86/HVM: drop memory_type_changed() call from hvm_set_guest_pat()
authorLi Liang <liangx.z.li@intel.com>
Fri, 22 Aug 2014 12:34:01 +0000 (14:34 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 22 Aug 2014 12:34:01 +0000 (14:34 +0200)
commitc94e724a09b309a06257b3cb16db091e76fd881a
treebd5359acd7d04da8f8cdd535c6710974f5b650aa
parentb050edf7d82a6179bf9d9c4b602484af3ab99c1c
x86/HVM: drop memory_type_changed() call from hvm_set_guest_pat()

The commit aa9114edd added the needless function call memory_type_changed,
it is unnessary because the PAT content does not influence the result of
epte_get_entry_emt(). If it is called, the cache will be flushed excessively
and make the nested guest very slowly, just like blocked.

Signed-off-by: Li Liang <liangx.z.li@intel.com>
xen/arch/x86/hvm/hvm.c